package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.core.MachineBatteryModelDao;
import com.tbit.uqbike.client.pojo.MachineBatteryModel;
import com.tbit.uqbike.client.service.MachineBatteryModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("machineBatteryModelService")
public class MachineBatteryModelServiceImpl implements MachineBatteryModelService {
    @Autowired
    private MachineBatteryModelDao machineBatteryModelDao;


    @Override
    public MachineBatteryModel getByMachineId(Integer machineId) {
        return machineBatteryModelDao.getByMachineId(machineId);
    }


}